package gdut.imis.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @Description
 * @Author JiaFu
 * @Date 2023/4/19 8:31
 */
public enum LessonEnum {
    ONE(0, "第一节课"),
    TWO(1, "第二节课"),
    THREE(2, "第三节课"),
    FOUR(3, "第四节课"),
    FIVE(4, "第五节课"),
    SIX(5, "第六节课");
    @EnumValue
    private final int type;
    @JsonValue
    private final String value;

    LessonEnum(int type, String value) {
        this.type = type;
        this.value = value;
    }

    public int getType() {
        return type;
    }

    public String getValue() {
        return value;
    }
}
